package com.zzyl.nursing.domain;

import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;

/**
 * 来访登记对象 visitor
 * 
 * @author ruoyi
 * @date 2025-05-09
 */
@Data
public class Visitor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一表示 */
    private Long id;

    /** 来访人姓名 */
    @Excel(name = "来访人姓名")
    private String name;

    /** 来访人手机号 */
    @Excel(name = "来访人手机号")
    private String mobile;

    /** 来访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "来访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime time;

    /** 老人姓名 */
    @Excel(name = "老人姓名")
    private String visitor;

    /** 来访类型，0：参观来访，1：探访来访 */
    @Excel(name = "来访类型，0：参观来访，1：探访来访")
    private Integer type;



}
